package com.cloudkinto.service.covershows.vo;

import com.cloudkinto.common.constant.SysConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author zhangyy
 * @date 2020/10/12 10:18
 * @description:
 */
@Data
@ApiModel
public class CustomerCaseAddReq {
    /**
     * 标题
     */
    @ApiModelProperty("标题")
    @NotBlank(message = SysConstant.PLS_INPUT_TITLE)
    private String title;

    @ApiModelProperty("文件id")
    private Long fileId;

    /**
     * 内容
     */
    @ApiModelProperty("内容")
    @NotBlank(message = SysConstant.PLS_INPUT_CONTENT)
    private String content;


    /**
     * 关键词
     */
    @ApiModelProperty("关键字")
    @NotEmpty(message = SysConstant.PLS_INPUT_KEYWORD)
    private List<String> antistopList;
}
